import Vue from 'vue'

export const doctorRecruit = {
	//博士招生院系分配计划
  collegeEnAdd: params => {
    return Vue.prototype.$postJson('admissions/bsyxzsjh/add', params)
  },
	collegeEnUpdate: params => {
	  return Vue.prototype.$postJson('admissions/bsyxzsjh/update', params)
	},
	collegeEnList: params => {
	  return Vue.prototype.$post('admissions/bsyxzsjh/list', params)
	},
	collegeEnDelete: (params) => {
		return Vue.prototype.$get(`admissions/bsyxzsjh/delete/`+params)
	},
	collegeEnId: params => {
	  return Vue.prototype.$get(`admissions/bsyxzsjh/info/${params}`)
	},
  collegeAble: params => {
    return Vue.prototype.$postJson('admissions/bsyxzsjh/editable', params)
  },
		//博士招生专业分配计划
	professionalAdd: params => {
	  return Vue.prototype.$postJson('admissions/bszsjh/add', params)
	},
	professionalUpdate: params => {
	  return Vue.prototype.$postJson('admissions/bszsjh/update', params)
	},
	professionalList: params => {
	  return Vue.prototype.$post('admissions/bszsjh/list', params)
	},
	professionalId: params => {
	  return Vue.prototype.$get(`admissions/bszsjh/info/${params}`)
	},
	professionalDel: params => {
	  return Vue.prototype.$get(`admissions/bszsjh/delete/`+params)
	},
	professionalAble: params => {
	   return Vue.prototype.$post('admissions/bszsjh/addable', params)
	},
  professionalUp: params => {
    return Vue.prototype.$postJson('admissions/bszsjh/sbao', params)
  },
  professionalCan: (params) => {
    return Vue.prototype.$postJson('admissions/bszsjh/editable', params)
  },
  //招生办计划
  professionalOfficeAdd: params => {
    return Vue.prototype.$postJson('admissions/zsbbszsjh/add', params)
  },
  professionalOfficeUpdate: params => {
    return Vue.prototype.$postJson('admissions/zsbbszsjh/update', params)
  },
  professionalOfficeList: params => {
    return Vue.prototype.$post('admissions/zsbbszsjh/list', params)
  },
  professionalOfficeId: params => {
    return Vue.prototype.$get(`admissions/zsbbszsjh/info/${params}`)
  },
  professionalOfficeDel: params => {
    return Vue.prototype.$get(`admissions/zsbbszsjh/delete/`+params)
  },
  professionalOfficeAble: params => {
    return Vue.prototype.$post('admissions/zsbbszsjh/addable', params)
  },
  professionalOfficeUp: (params) => {
    return Vue.prototype.$get(`admissions/zsbbszsjh/cancel?${params}`)
  },
	// 招生计划时间限制
	timeLimitAdd: params => {
	   return Vue.prototype.$postJson('admissions/bszsjh/setTime', params)
	},
	timeLimitId: params => {
	   return Vue.prototype.$post('admissions/bszsjh/getTime', params)
	},
	// 招生计划统计
	recruitPlanTotalList:params=>{
		return Vue.prototype.$post('admissions/bszsjh/statistics', params)
	},
  //博士分数线管理
  fractionalList:params=>{
    return Vue.prototype.$post('admissions/bscsfsxxx/list', params)
  },
  fractionalDelete:params=>{
    return Vue.prototype.$get(`admissions/bscsfsxxx/delete/${params}`)
  },
  fractionalId: params => {
	return Vue.prototype.$get(`admissions/bscsfsxxx/info/${params}`)
  },
  fractionalUpdate: params => {
	return Vue.prototype.$postJson('admissions/bscsfsxxx/update', params)
  },
  //专业线设置
  majorSave:params=>{
    return Vue.prototype.$postJson('admissions/bscsfsxxx/add', params)
  },
  majorStuSave:params=>{
    return Vue.prototype.$postJson('admissions/bscsfsxxx/addLy', params)
  },
  //学科专业码设置
  specialtySave:params=>{
    return Vue.prototype.$postJson('admissions/bscsfsxxx/xkzymSave', params)
  },
  specialtyStuSave:params =>{
	return Vue.prototype.$postJson('admissions/bscsfsxxx/xkzymSaveLy', params)
  },
  //博士查询时间设置
  timeGetId: params => {
	return Vue.prototype.$post('admissions/bscsfsxxx/getTime', params)
 },
 timeSetAdd: params => {
	return Vue.prototype.$postJson('admissions/bscsfsxxx/setTime', params)
 },
 //批量打印
	batchPrinting: params => {
	return Vue.prototype.$post('admissions/bsksbmxx/batchPrint', params)
},
//考生查询
	enquiryList: params=>{
	return Vue.prototype.$post('admissions/bsksbmxx/list', params)
},
//入学参考科目管理
	consultList:params=>{
	return Vue.prototype.$post('admissions/zsBsckkm/list', params)
},
	consultId: params => {
	return Vue.prototype.$get(`admissions/zsBsckkm/info/${params}`)
  },
  	consultUpdate: params => {
	return Vue.prototype.$postJson('admissions/zsBsckkm/update', params)
  },
  consultAdd:params=>{
    return Vue.prototype.$postJson('admissions/zsBsckkm/add', params)
  },
  consultDelete:params=>{
    return Vue.prototype.$get(`admissions/zsBsckkm/delete/${params}`)
  },
//入学考试科目管理
	examinationList:params=>{
	return Vue.prototype.$post('admissions/zsBsrxkskm/list', params)
},
	examinationId: params => {
	return Vue.prototype.$get(`admissions/zsBsrxkskm/info/${params}`)
  },
  	examinationAdd: params =>{
	return Vue.prototype.$postJson('admissions/zsBsrxkskm/add', params)
  },
  	examinationUpdate: params =>{
	return Vue.prototype.$postJson('admissions/zsBsrxkskm/update', params)
  },
  	examinationDelete: params =>{
	return Vue.prototype.$get(`admissions/zsBsrxkskm/delete/${params}`)
  },
//院系招生目录管理
	CollegeStudentList: params =>{
	return Vue.prototype.$post('admissions/zsBsszszyml/list', params)
	},
	CollegeStudentAdd: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/add', params)
	},
	CollegeStudentId: params =>{
		return Vue.prototype.$get(`admissions/zsBsszszyml/info/${params}`)
	},
	CollegeStudentUpate: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/update', params)
	},
	CollegeStudentDelete: params =>{
		return Vue.prototype.$get(`admissions/zsBsszszyml/delete/${params}`)
	},
	CollegeStudentDeleteForYx: params =>{
		return Vue.prototype.$get(`admissions/zsBsszszyml/delete/yx/${params}`)
	},
	CollegeStudentUp: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/sbao', params)
	},
	CollegeStudentAble: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/editable', params)
	},
	CollegeStudentSort: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/sort',params)
	},
	 //招生目录汇总
	 menuTotalList: (params) => {
		return Vue.prototype.$post('admissions/zsmlcx/bsdllist', params)
	},
	//校内调剂管理
	campusAdjustList: params => {
		return Vue.prototype.$post('admissions/bskstjxx/listBsxx', params)
	},
	campusAdjustAdd: params => {
		return Vue.prototype.$postJson('admissions/bskstjxx/add', params)
	},
	campusAdjustId: params => {
		return Vue.prototype.$get(`admissions/bskstjxx/getByKsxxId/${params}`)
	},
	// 调剂审核
	campusAuditList: params => {
		return Vue.prototype.$post('admissions/bskstjxx/listTjsh', params)
	},
	campusAuditAudit: params => {
		return Vue.prototype.$postJson('admissions/bskstjxx/audit', params)
	},
	campusAuditBasic: params => {
		return Vue.prototype.$get(`admissions/bskstjxx/basic`, params)
	},
	// 调剂查询
	campusQueryList: params => {
		return Vue.prototype.$post('admissions/bskstjxx/list', params)
	},
	campusQueryAudit: params => {
		return Vue.prototype.$postJson('admissions/bskstjxx/audit', params)
	},
	//招生办招生目录管理
	officeDelete: params =>{
		return Vue.prototype.$get(`admissions/zsBsszszyml/delete/${params}`)
	},
	officeAdd: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/add2', params)
	},
	officeUpate: params =>{
		return Vue.prototype.$postJson('admissions/zsBsszszyml/update2', params)
	},
	officeCancel: params =>{
		return Vue.prototype.$post('admissions/zsBsszszyml/cancel',params)
	},
//招生基础信息
	basicInfoId: params =>{
		return Vue.prototype.$post('admissions/zsxxwh/get',params)
	},
	basicInfoAdd: params =>{
		return Vue.prototype.$postJson('admissions/zsxxwh/add',params)
	},
//初试成绩录入
	firstTryList: params =>{
		return Vue.prototype.$post('admissions/bsksxx/list',params)
	},
	firstTryId: params =>{
		return Vue.prototype.$get(`admissions/bsksxx/info/${params}`)
	},
	firstTryUpate: params =>{
		return Vue.prototype.$postJson('admissions/bsksxx/update',params)
	},
//复试成绩录入
   secondTryList: params =>{
	   return Vue.prototype.$post('admissions/bsksxx/bscjlrList',params)
   },
   secondTryAdd: params =>{
	return Vue.prototype.$postJson('admissions/bsksxx/bscjlrAdd',params)
},
	secondTryCom: params =>{
		return Vue.prototype.$postJson('admissions/bsksxx/bscjlrSczhpd',params)
	},
	//录取审核
	examineList: params =>{
	return Vue.prototype.$post('admissions/bsnlqrymd/lqshList',params)
},
	examineSh: params =>{
		return Vue.prototype.$postJson('admissions/bsnlqrymd/sh',params)
	},
	//录取查询
	searchList: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/lqcxList',params)
	},
	//录取查询页更换录取导师
	bsnlqrymdUpdateBslqds: params =>{
		return Vue.prototype.$postJson('admissions/bsnlqrymd/update/bslqds',params)
	},
	//录取退回
	returnList: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/lqthList',params)
	},
	returnTh: params =>{
		return Vue.prototype.$postJson('admissions/bsnlqrymd/th',params)
	},
	//拟录取管理
	enrollList: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/list',params)
	},
	enrollAble: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/sendAble',params)
	},
	enrollId: params =>{
		return Vue.prototype.$get(`admissions/bsnlqrymd/get/${params}`)
	},
	enrollUpate: params =>{
		return Vue.prototype.$postJson('admissions/bsnlqrymd/scxg',params)
	},
	enrollAdm: params =>{
		return Vue.prototype.$postJson('admissions/bsnlqrymd/sflq',params)
	},
	enrollSupport: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/send',params)
	},
	//确认缴费
	payList:params =>{
		return Vue.prototype.$post('admissions/bsksbmxx/qrjfList',params)
	},
	payId: params =>{
		return Vue.prototype.$postJson('admissions/bsksbmxx/pay',params)
	},
	//准考证录入
	inputList:params =>{
		return Vue.prototype.$post('admissions/bsksbmxx/zkzlrList',params)
	},
	//复试录取综合排序
	comprehenList: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/fslqzhpxList',params)
	},
	// 考生查询 -显示
	admissionsId: params =>{
		return Vue.prototype.$get(`admissions/bsksbmxx/info/${params}`)
	},
	// 考生查询 -编辑保存
	admissionsSave: params =>{
		return Vue.prototype.$postJson('admissions/bsksbmxx/update',params)
	},
	// 考生查询 - 获取业务课和外语课
	admissionsClasses: params =>{
		return Vue.prototype.$postJson('admissions/zsBsrxkskm/query',params)
	},
	// 考生查询 - 确认与取消
	admissionsAffirm: params =>{
		return Vue.prototype.$postJson('admissions/bsksbmxx/affirm',params)
	},
	//拟录取时间设置
	admittedGetId: params => {
		return Vue.prototype.$post('admissions/bsnlqrymd/getTime', params)
	 },
	 admittedSetAdd: params => {
		return Vue.prototype.$postJson('admissions/bsnlqrymd/setTime', params)
	 },
	 //绿色通道
	 greenList: params =>{
		return Vue.prototype.$post('admissions/bsksxx/lstdList',params)
	},
	greenAble: params =>{
		return Vue.prototype.$postJson('admissions/bsksxx/yxfs',params)
	},
	//查看复试名单
	previewList: params =>{
		return Vue.prototype.$post('admissions/bsksxx/ckfsmdList',params)
	},
	//录取人数统计
	cencusList : params =>{
		return Vue.prototype.$post('admissions/bszsjh/lqrslist',params)
	},
	//生成考生学籍
	archivesList: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/scksxjList',params)
	},
	generateId: params =>{
		return Vue.prototype.$post('admissions/bsnlqrymd/scksxj',params)
	},
	//准考证号获取个人信息
	infoId: params =>{
		return Vue.prototype.$get(`admissions/bsksxx/info/${params}`)
	},
	docEditTime: params =>{
		return Vue.prototype.$postJson('/admissions/bsksbmxx/wycjcx/setTime',params)
	},
	docGetTime: params =>{
		return Vue.prototype.$post('admissions/bsksbmxx/wycjcx/getTime',params)
	},
	resetLqfs: params =>{
		return Vue.prototype.$post('admissions/bsksxx/resetLqfs',params)
	},
	docZkzGetTime: params =>{
		return Vue.prototype.$post('admissions/bsksbmxx/zkz/getTime',params)
	},
	docZhkzTime: params =>{
		return Vue.prototype.$postJson('admissions/bsksbmxx/zkz/setTime',params)
	},
}
